package com.netistate.pojo;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

@Entity
@Table(name="t_projectservicedetail")
@Cache(usage=CacheConcurrencyStrategy.READ_WRITE)
public class ProjectServiceDetail {
	
	private int id;
	private String infoTypeName;
	private String infoTypeNo;
	private String workNote;
	
	private ProjectServices projectServices;
	
	@ManyToOne
	@JoinColumn(name="projectServicesid")
	public ProjectServices getProjectServices() {
		return projectServices;
	}

	public void setProjectServices(ProjectServices projectServices) {
		this.projectServices = projectServices;
	}

	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}

	public String getInfoTypeName() {
		return infoTypeName;
	}

	public void setInfoTypeName(String infoTypeName) {
		this.infoTypeName = infoTypeName;
	}

	public String getWorkNote() {
		return workNote;
	}

	public void setWorkNote(String workNote) {
		this.workNote = workNote;
	}

	public String getInfoTypeNo() {
		return infoTypeNo;
	}

	public void setInfoTypeNo(String infoTypeNo) {
		this.infoTypeNo = infoTypeNo;
	}

	

	
	
	
	

}
